package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

public interface SupplierService {
  PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, SupplierVO supplierVO);

  Supplier add(SupplierVO supplierVO);

  SupplierVO edit(Long id) throws BusinessException;

  Supplier update(Long id, SupplierVO supplierVO);

  void delete(Long id);
}
